set(classes
  vtkCompositeDataReader
  vtkCompositeDataWriter
  vtkDataObjectReader
  vtkDataObjectWriter
  vtkDataReader
  vtkDataSetReader
  vtkDataSetWriter
  vtkDataWriter
  vtkGenericDataObjectReader
  vtkGenericDataObjectWriter
  vtkGraphReader
  vtkGraphWriter
  vtkPixelExtentIO
  vtkPolyDataReader
  vtkPolyDataWriter
  vtkRectilinearGridReader
  vtkRectilinearGridWriter
  vtkSimplePointsReader
  vtkSimplePointsWriter
  vtkStructuredGridReader
  vtkStructuredGridWriter
  vtkStructuredPointsReader
  vtkStructuredPointsWriter
  vtkTableReader
  vtkTableWriter
  vtkTreeReader
  vtkTreeWriter
  vtkUnstructuredGridReader
  vtkUnstructuredGridWriter)

vtk_module_add_module(VTK::IOLegacy
  CLASSES ${classes})
